@import '../../app/variablesV2.css';

.container {
  align-items: center;
  display: flex;
  font-family: var(--heading-font);
  font-size: var(--button-font-size-s);
  font-weight: var(--font-weight-bold);
  justify-content: flex-start;
  padding: 12px 16px;
  width: 100%;
}

.filter {
  align-items: center;
  background-color: var(--color-white);
  box-shadow: var(--box-shadow-button);
  border-radius: var(--border-radius-standard);
  color: var(--color-content-grayblue);
  display: flex;
  height: 32px;
  margin-right: 16px;
  padding: 0 15px;

  & > .clearBtn {
    align-items: flex-start;
    cursor: pointer;
    display: flex;
    height: 16px;
    justify-content: center;
    margin-left: 20px;
    position: relative;
    width: 14px;

    &::before,
    &::after {
      background-color: currentColor;
      border-radius: 1px;
      color: inherit;
      content: '';
      height: 15px;
      position: absolute;
      width: 2px;
    }

    &::before {
      transform: rotate(45deg);
    }

    &::after {
      transform: rotate(-45deg);
    }
  }

  & > .label {
    color: inherit;
    margin: 0;
    max-width: 245px;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

.icon {
  font-size: var(--font-size-h6);
  cursor: pointer;
  margin-top: 5px;
  font-weight: var(--font-weight-bold);
}

.label {
  color: var(--color-content-light);
  font-family: var(--heading-font);
  font-size: var(--button-font-size-s);
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.22px;
  line-height: 14px;
  margin-right: 40px;
}

.clearAll {
  height: 32px;

  & .clearAllButton {
    font-size: var(--button-font-size-s);
    height: 100%;
    line-height: 14px;
    min-height: 0;
    padding: 0 16px;
    width: auto;
  }
}
